﻿
// SteamView.h: CSteamView 类的接口
//

#pragma once

#include "Pipe.h"
#include "SteamDoc.h"
class CSteamView : public CFormView
{
protected: // 仅从序列化创建
	CSteamView() noexcept;
	DECLARE_DYNCREATE(CSteamView)

public:
#ifdef AFX_DESIGN_TIME
	enum{ IDD = IDD_STEAM_FORM };
#endif

// 特性
public:
	CSteamDoc* GetDocument() const;

// 操作
public:

// 重写
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual void OnInitialUpdate(); // 构造后第一次调用

// 实现
public:
	virtual ~CSteamView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// 生成的消息映射函数
protected:
	afx_msg void OnFilePrintPreview();
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	DECLARE_MESSAGE_MAP()
public:
	CPipe* pipe;
	afx_msg void OnBnClickedPrecalcButton();
	afx_msg void OnBnClickedRoughdlgButton();
	afx_msg void OnBnClickedLocaldlgButton();
	afx_msg void OnBnClickedInsuldlgButton();
	afx_msg void OnBnClickedBlacknessButton();
	afx_msg void OnBnClickedEnvironmentdlgButton();
	afx_msg void OnBnClickedPmpdlgButton();
	afx_msg void OnBnClickedWeldingdlgButton2();
	afx_msg void OnEnChangeTEdit();
	afx_msg void OnEnChangeTdEdit();
	afx_msg void OnComponent();
	afx_msg void OnComposition();
};

#ifndef _DEBUG  // SteamView.cpp 中的调试版本
inline CSteamDoc* CSteamView::GetDocument() const
   { return reinterpret_cast<CSteamDoc*>(m_pDocument); }
#endif

